<template>
  <div class="code-table">
    <baseTable :fields="fields" baseURL="/api/codeType" :btns="btns" />
  </div>
</template>

<script>
import codeType from './mixins/code-type'
export default {
  name: 'code-type-table',
  mixins: [codeType],
  data () {
    return {
      btns: [
        {
          title: '代码信息配置',
          icon: 'icon-fuzhi',
          click: (rows, handle) => {
            console.warn(rows)
          }
        }
      ]
    }
  }
}

</script>
